<%@ page import="com.guotd.ticketSystem.entity.User" %>
<%@page pageEncoding="UTF-8" contentType="text/html; UTF-8" isELIgnored="false" %>
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>修改密码</title>
    <link rel="stylesheet" href="css/login.css">
</head>
<body>
<div class="login-container">
<%
    if (request.getAttribute("user_msg") != null)
    {
%>
<h2><%= request.getAttribute("user_msg") %></h2>
<%
    }
%>
<%User user= (User) session.getAttribute("user");%>
<form action="changePwd" method="post">
    <input type="hidden" name="id" value="<%= user.getId() %>" required>
    请输入新密码：<input type="password" name="password" required><br>
    再次输入新密码：<input type="password" name="password2" required><br>
    <input type="submit">
</form>
</div>
</body>
</html>